home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 351-375 / disk_359 / dice / dice.lzh / include / ioctl.h < prev    next >
C/C++ Source or Header  |  1990-03-24  |  722b  |  37 lines

  1.  
  2. /*
  3.  *  IOCTL.H
  4.  */
  5.  
  6. #ifndef _IOCTL_H
  7.  
  8. #define IOF_CMD     0x00FF
  9. #define IOF_GET     0x0000
  10. #define IOF_SET     0x1000
  11.  
  12. #define IOC_READ    1
  13. #define IOC_WRITE   2
  14. #define IOC_DUP     3
  15. #define IOC_SEEK    4
  16. #define IOC_CLOSE   5
  17. #define IOC_CEXEC   6
  18. #define IOC_MODES   7
  19.  
  20. #define IOC_SIO     8        /*    MS support */
  21.  
  22. #define IOC_ISATTY  9
  23.  
  24. #define IOC_SIGNAL    10  /*    signal bit for fd    */
  25. #define IOC_POST_BREAK    11  /*    propogate ^C through fd */
  26. #define IOC_DOMAIN    12  /*    what kind of descriptor are we? */
  27. #define IOC_GETDESC    13  /*    get actual low level desc.    */
  28.  
  29. #define IODOM_AMIGADOS    0   /*    AmigaDOS descriptor    */
  30. #define IODOM_MS    1   /*    multi-stream descriptor */
  31.  
  32.  
  33. extern int ioctl(int, int, void *, ...);
  34.  
  35. #endif
  36.  
  37.